package com.shenmazong.serverboottest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 田不平
 * @project server-security
 * @date 2020/3/8 3:51 PM
 * http://www.shenmazong.com
 */
@RestController
public class UserController {

    @RequestMapping(value = "/")
    public String index() {
        return "index";
    }

    @RequestMapping(value = "/hello")
    public String hello() {
        return "hello";
    }
}
